package com.excesys.exsecs.energy.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import com.excesys.exsecs.access.entity.AccessDeviceInfo;
import com.excesys.exsecs.common.data.datascope.ExsecsBaseMapper;
import com.excesys.exsecs.energy.entity.RegModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RegModelMapper extends ExsecsBaseMapper<RegModel> {

	Page<RegModel> queryPage(@Param("page") Page page, @Param("rm") RegModel regModel);

	/**
	 * 查询注册类型中所有的在线设备信息
	 * @return
	 */
	List<AccessDeviceInfo> queryDeviceByDevModel(@Param("models") String models);

}